
const createCounterStore = (set) => {
  return {
    count: 0,
    inc: () => set(state => ({ count: state.count + 1 })),
  }
}
export default createCounterStore
